package com.atguigu.ssm.pojo;

import java.io.Serializable;

/**
 * @program: ssm_demo
 * @author: Mr.Zhuo
 * @create: 2022-03-29 20:19
 **/
public class User implements Serializable {
    private Integer id; // 主键
    private String username; // 用户名，唯一
    private String password; // 密码

    public User() {
    }

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", username='" + username + '\'' +
                ", password='" + password + '\'' +
                '}';
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }
}
